emp.map.engines.loadResources({resourceList: ["/emp-engine-ge/ge-map-engine.debug.js",
        "/emp-engine-ge/loader_1-008.js",
        "/emp-engine-ge/extensions-0.2.1.js",
        "/emp-engine-ge/mil-symbology-renderer.debug.js",
        "/emp-engine-ge/geEngine-engine-js-utils.debug.js",
        "/emp-engine-ge/geEngine-geojson-converter.debug.js",
        "/emp-engine-ge/geEngine-geo-library.debug.js",
        "/emp-engine-ge/rendering/sm-bc.min.js"],
    callback: function(args) {
        var geEngine = geMapEngine(),
            properties = {},
            // Assume the configuration is bad until checked
            validConfig = false;
        emp.map.engine = geEngine;

        if(args !== undefined && args!== null){
             if(args.hasOwnProperty("configProperties")){
                if(args.configProperties.hasOwnProperty("Base_URL") && args.configProperties.hasOwnProperty("Enterprise_Key")){
                    validConfig = true;
                }
            }
        }

        if(validConfig === true){
            if (!window.hasOwnProperty("google")) {
                window.google = {};
            }
            if (!window.google.hasOwnProperty("loader")) {
                window.google.loader = {};
            }
            if (!window.google.hasOwnProperty("earth")) {
                window.google.earth = {};
            }
            google.loader.ApiKey = args.configProperties.Enterprise_Key;
            google.loader.KeyVerified = true;
            google.earth.allowUsageLogging = false;
            var earthArgs = {
                database: args.configProperties.Base_URL,
                username: '',
                password: ''
            };

        setTimeout(function() {
            google.earth.createInstance(emp.map.container.get(), emp.map.engine.initialize.succeed, emp.map.engine.initialize.fail, earthArgs);
        }, 1000);
    } else {
            alert("The Google Earth Enterprise Server URL and key have not been configured.  Please have your administrator configure these values via the map engine configuration page or configuration file and try again.  You can choose a different map engine by clicking the settings gear icon in the top right corner of the map.");
        
    }

    }
});